package com.kamistoat.meimeistore.cart.feign;

import com.kamistoat.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

@FeignClient("meimeistore-web-backstage-ware")
public interface WareFeignService {
    @RequestMapping("/meimeistoreware/waresku/hasStock")
    R hasStock(@RequestBody List<Long> skuIdList);
}
